/*
 * CameraGround.h
 *
 *  Created on: 24/10/2012
 *      Author: Matias_2
 */

#ifndef CAMERAGROUND_H_
#define CAMERAGROUND_H_

#include "base/GLView.h"

class CameraGround : public GLView {
private:

	glm::vec3 position;
	float angle;
	float rotationX;
	float antRotationX;
	float rotationY;
	float antRotationY;


	virtual void OnMouseMove(int x, int y);
	void OnKeyDown(int nKey, char cAscii);

public:
	CameraGround();
	virtual ~CameraGround();

	virtual glm::mat4 getViewMatrix();
	virtual void registerListener();
	virtual void deleteListener();
};


#endif /* CAMERAGROUND_H_ */
